Rename Folder
AutomatR.DefaultActivities.FileAndFolder.RenameFolder
The "Rename Folder" activity in AutomatR allows you to rename a specified folder. This activity falls under the Folder category and provides a convenient way to rename folders, enhancing folder management capabilities in your automation workflows.
Properties
Name | Description |
---|---|
Input | |
Folder Path | Specifies the full path of the folder that you intend to rename. String variables containing the folder path. |
New Folder Name | Specifies the new name that you want to assign to the folder after renaming. String variables containing the new folder name. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Rename Folder" activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the wait time is 1000 milliseconds or 1 sec, i.e., 1. |
How to use:
- Drag and drop the "Rename Folder" activity onto the workflow.
- Configure the properties by specifying the folder path and the new folder name.
- Optionally, configure the delay.
- Execute the workflow to rename the specified folder.
Example: Consider an example where the "Rename Folder" activity is used to rename a folder named "Sample" to "NewVijay" in the "D:\RenameFolder\" directory:
Rename Folder:
Folder Path: "D:\RenameFolder\Sample"
New Folder Name: "NewSample"
In this example, the activity renames the "Sample" folder to "NewSample" in the specified path. Adjust the folder path and new folder name based on your requirements.